export class JsonConnectObject{
    constructor() {
        this.url = '';
        this.params = {};
        this.data = {};
        this.headers = {};
    }
    setUrl(url) {
        this.url = url;
        return this;
    }

    setParams(params) {
        this.params = params;
        return this;
    }

    setData(data) {
        this.data = data;
        return this;
    }

    setHeaders(headers) {
        this.headers = headers;
        return this;
    }
    getUrl(){
        return this.url
    }
    getParams(){
        return this.params
    }
    getData(){
        return this.data
    }
    getHeaders(){
        return this.headers
    }
}




